<!-- Breadcrums -->
<?php $this->load->view('helpers/breadcrums.php'); ?>
<!-- Breadcrum -->
<div class="container">
	<div id="main">
		<div class="row-fluid" id="searchbox">
			<div class="span9">
				<div class="w-box">
					<div class="w-box-header-pages">
						<h1 class="page-header"><?php echo $text_advanced_search_international_properties; ?></h1>
					</div>
					<div class="w-box-content cnt_a">
						<form method="get" action="<?php echo base_url(); ?>listing-rows.html"
							class="form-search-box">
						<input type="hidden" value="1" id="international" name="localorint">
						<div class="row-fluid">
						<div class="span2">
						<div class="heading_vertical">
							<label class="radio"><input type="radio" checked="checked" value="sale" id="forsaleorforrent1" name="propertyfor"> <?php echo $text_property_forsale; ?></label> 
							<label class="radio"><input type="radio" value="rent" id="forsaleorforrent2" name="propertyfor"><?php echo $text_property_forlease; ?></label>
                        </div>
						</div>
						<div class="span10">
						<div class="row-fluid">
						<div class="span4"><?php echo $text_listingtype; ?></div>
						<div class="span8"><select name="list_type" id="list_type"
							class="span12">
							<option selected="selected" value=""><?php echo $text_please_select; ?></option>
							<option value="resale"><?php echo $text_resale; ?></option>
							<option value="project"><?php echo $text_project_listing; ?></option>
						</select></div>
						</div>
						<div class="row-fluid">
						<div class="span4"><?php echo $text_propertytype; ?></div>
						<div class="span8">
							<select id="propertytype" name="propertytype" class="span12">
								<option value="" selected="selected"><?php echo $text_all_propertytype; ?></option>
								<?php if(count($dd_propertytype) > 0) { ?>
								<?php foreach ($dd_propertytype as $type) { ?>
								<option value="<?php echo $type->PropertyType_ID; ?>"><?php echo $type->Name; ?></option>
								<?php } ?>
								<?php } ?>
							</select>
						</div>
						</div>
						<div class="row-fluid">
						<div class="span4"><?php echo $text_country; ?></div>
						<div class="span8 city_advance_search">
							<select id="country" name="country" class="span12">
								<option value="" selected="selected"><?php echo $text_all_countries; ?></option>
								<?php if(count($dd_int_country) > 0) { ?>
								<?php foreach ($dd_int_country as $type) { ?>
								<option value="<?php echo $type->Country_ID; ?>"><?php echo $type->Name; ?></option>
								<?php } ?>
								<?php } ?>
							</select>
						</div>
						</div>
						<div class="row-fluid">
						<div class="span4"><?php echo $text_price; ?></div>
						<div class="span8">
						<div class="row-fluid">
						<div class="span4"><input name="price_min" type="text" id="price_min"
							class="span12" placeholder="Min"></div>
						<div class="span4"><input name="price_max" type="text" id="price_max"
							class="span12" placeholder="Max"></div>
						<div class="span4"><select name="ddlPriceUnit" id="ddlPriceUnit"
							class="span12">
							<option selected="selected" value="IDR">IDR</option>
							<option value="USD">USD</option>
						</select></div>
						</div>
						</div>
						</div>
						
						<div class="row-fluid">
							<div class="span4">
								<?php echo $text_size; ?>
							</div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span8">
										<select name="size_min" id="size_min" class="span12">
											<option value="" selected="selected"><?php echo $text_size; ?></option>
											<?php if(count($size) > 0) { ?>
											<?php foreach ($size as $item) { ?>
											<option value="<?php echo $item->Value; ?>" <?php if(isset($size_min) && $size_min == $item->Value){echo 'selected="selected"';} ?>><?php echo $item->Sizeoption; ?></option>
											<?php } ?>
											<?php } ?>
										</select>			
									</div>
									<div class="span4">
										<select name="ddlSizeUnit" id="ddlSizeUnit" class="span12">
											<option selected="selected" value="sqm">SqM</option>
											<option value="sqft">SqFt</option>
										</select>
									</div>
								</div>		
							</div>
						</div>
						
						
						<div class="row-fluid">
							<div class="span4"><?php echo $text_bedrooms; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span6"><input name="bedroom_min" type="text" id="bedroom_min"
										class="span12" placeholder="Min">
									</div>
									<div class="span6"><input name="bedroom_max" type="text" id="bedroom_max"
										class="span12" placeholder="Max">
									</div>
								</div>
							</div>
						</div>
						
						
						<div class="row-fluid">
							<div class="span4"><?php echo $text_bathrooms; ?></div>
							<div class="span8">
								<div class="row-fluid">
									<div class="span6"><input name="bathroom_min" type="text" id="bathroom_min"
										class="span12" placeholder="Min">
									</div>
									<div class="span6"><input name="bathroom_max" type="text" id="bathroom_max"
										class="span12" placeholder="Max">
									</div>
								</div>
							</div>
						</div>
						
						<div class="row-fluid">
						<div class="span4"><?php echo $text_keyword; ?></div>
						<div class="span8"><input name="keyword" type="text" id="keyword"
							placeholder="<?php echo $text_keyword_of_properties; ?>" class="span12">
						</div>
						</div>
						<div class="row-fluid">
						<div class="span12">
						<div class="pull-right"><input type="submit" value="Search"
							class="btn btn-primary btn-large" name="btnSearch" id="btnSearch"></div>
						</div>
						</div>
						</div>
						</div>
						</form>
					</div>
				</div>
			</div>
			<div class="sidebar span3"><?php $this->load->view('helpers/widgets/ad.php'); ?>
			</div>
		</div>
	</div>
</div>
